ComponentOne ASP.NET MVC Controls
SelectionMode Method (InputDateBaseBuilder<TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > InputDateBaseBuilder<TControl,TBuilder> Class : SelectionMode Method
The value.
Configurates C1.Web.Mvc.InputDateBase.SelectionMode. Sets a value that indicates whether users can select days, months, or no values at all.
Syntax
'Declaration
 
Public Function SelectionMode( _
   ByVal value As DateSelectionMode _
) As TBuilder
public TBuilder SelectionMode( 
   DateSelectionMode value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
This property affects the behavior of the drop-down calendar, but not the format used to display dates. If you set selectionMode to 'Month', you should normally set the format property to 'MMM yyyy' or some format that does not include the day.
See Also

Reference

InputDateBaseBuilder<TControl,TBuilder> Class
InputDateBaseBuilder<TControl,TBuilder> Members